var User = /** @class */ (function () {
    function User(firstName, lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.fullName = firstName + " " + lastName;
    }
    return User;
}());
function greeter(person) {
    return 'Hello ' + person.firstName + ' ' + person.lastName;
}
var person = {
    firstName: 'jiang',
    lastName: 'xuemei'
};
var user = new User('jiang', 'xuemei');
var res = greeter(user);
console.log(res);
